package com.lry.basic.spring.ioc.anno;


import com.lry.basic.spring.ioc.BeanDefinition;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Component {
    String value() default "";
    String scope() default BeanDefinition.SCOPE_SINGLETON;
    String initMethod() default "";
    String destroyMethod() default "";
}
